import {defineStore} from "pinia";


export const useCrumbs = defineStore('crumbs', {
    state: () => ({
        crumbObj: {},
        cruObj: {},
        pathArrs: []
    }),
    persist: {
        enabled: true,
        strategies: [{
            key: 'pinia-pressure-Crumbs',
            storage: localStorage,
            paths: ["pathArrs"]
        }]
    },
})
